package mybatis.mapper;

import mybatis.pojo.Project;

import java.util.List;

public interface ProjectMapper {
    //删除
    int deleteByPrimaryKey(Integer pid);

    //添加
    int insert(Project record);

    //通过pid查询
    Project selectByPrimaryKey(Integer pid);

    //查询所有
    List<Project> selectAll();

    //更新
    int updateByPrimaryKey(Project record);
}